//跨域代理前缀
const API_PROXY_PREFIX = '/api'
const BASE_URL = process.env.NODE_ENV === 'production' ? process.env.VUE_APP_API_BASE_URL : API_PROXY_PREFIX
module.exports = {
    SystemLogin: `${BASE_URL}/authorize/account/login`,
    SystemCaptcha: `${BASE_URL}/authorize/account/captcha`,
    SystemUserMenu: `${BASE_URL}/system/home/menu`,
    SystemUserMenuTree: `${BASE_URL}/system/home/menutree`,

    SystemShortCutQuery: `${BASE_URL}/system/shortcut/user`,
    SystemShortCutSave: `${BASE_URL}/system/shortcut`,
    SystemShortCutDel: `${BASE_URL}/system/shortcut/del`,
    SystemShortCutDelAll: `${BASE_URL}/system/shortcut/delall`,
    SystemShortCutSaveOrderNo: `${BASE_URL}/system/shortcut/order`,

    SystemMenu: `${BASE_URL}/system/menu`,
    SystemMenuApp: `${BASE_URL}/system/menu/app`,
    SystemMenuQuery: `${BASE_URL}/system/menu/list`,
    SystemMenuSave: `${BASE_URL}/system/menu`,
    SystemMenuDelete: `${BASE_URL}/system/menu/delete`,
    SystemMenuFindById: `${BASE_URL}/system/menu`,
    SystemMenuPermission: `${BASE_URL}/system/menu/permission`,
    SystemMenuIsShowMenu: `${BASE_URL}/system/menu/isshowmenu`,
    SystemMenuHaveMenuPermission: `${BASE_URL}/system/menu/havemenupermission`,
    SystemMenuHaveDataPermission: `${BASE_URL}/system/menu/havedatapermission`,
    SystemMenuHaveFieldPermission: `${BASE_URL}/system/menu/havefieldpermission`,
    SystemMenuHaveButtonPermission: `${BASE_URL}/system/menu/havebuttonpermission`,
    SystemMenuIsFreeze: `${BASE_URL}/system/menu/isfreeze`,

    SystemMenuButtonQuery: `${BASE_URL}/system/menubutton/list`,
    SystemMenuButtonSave: `${BASE_URL}/system/menubutton`,
    SystemMenuButtonSaveAll: `${BASE_URL}/system/menubutton/all`,
    SystemMenuButtonDelete: `${BASE_URL}/system/menubutton/delete`,
    SystemMenuButtonFindById: `${BASE_URL}/system/menubutton`,
    SystemMenuButtonIsFreeze: `${BASE_URL}/system/menubutton/isfreeze`,

    SystemMobileMenu: `${BASE_URL}/system/mobilemenu`,
    SystemMobileMenuQuery: `${BASE_URL}/system/mobilemenu/list`,
    SystemMobileMenuSave: `${BASE_URL}/system/mobilemenu`,
    SystemMobileMenuDelete: `${BASE_URL}/system/mobilemenu/delete`,
    SystemMobileMenuFindById: `${BASE_URL}/system/mobilemenu`,
    SystemMobileMenuPermission: `${BASE_URL}/system/mobilemenu/buttonpermission`,
    SystemMobileMenuHaveMenuPermission: `${BASE_URL}/system/mobilemenu/havemenupermission`,
    SystemMobileMenuHaveDataPermission: `${BASE_URL}/system/mobilemenu/havedatapermission`,
    SystemMobileMenuHaveFieldPermission: `${BASE_URL}/system/mobilemenu/havefieldpermission`,
    SystemMobileMenuHaveButtonPermission: `${BASE_URL}/system/mobilemenu/havebuttonpermission`,
    SystemMobileMenuIsFreeze: `${BASE_URL}/system/mobilemenu/isfreeze`,

    SystemMobileMenuButtonQuery: `${BASE_URL}/system/mobilemenubutton/list`,
    SystemMobileMenuButtonSave: `${BASE_URL}/system/mobilemenubutton`,
    SystemMobileMenuButtonDelete: `${BASE_URL}/system/mobilemenubutton/delete`,
    SystemMobileMenuButtonFindById: `${BASE_URL}/system/mobilemenubutton`,
    SystemMobileMenuButtonIsFreeze: `${BASE_URL}/system/mobilemenubutton/isfreeze`,

    SystemDataQuery: `${BASE_URL}/system/data/list`,
    SystemDataSave: `${BASE_URL}/system/data`,
    SystemDataDelete: `${BASE_URL}/system/data/delete`,
    SystemDataFindById: `${BASE_URL}/system/data`,
    SystemDataIsFreeze: `${BASE_URL}/system/data/isfreeze`,

    SystemDictionary: `${BASE_URL}/system/dictionary`,
    SystemDictionaryQuery: `${BASE_URL}/system/dictionary/list`,
    SystemDictionarySave: `${BASE_URL}/system/dictionary`,
    SystemDictionaryDelete: `${BASE_URL}/system/dictionary/delete`,
    SystemDictionaryFindById: `${BASE_URL}/system/dictionary`,
    SystemDictionaryFindByParentId: `${BASE_URL}/system/dictionary/parentid`,
    SystemDictionaryFindByParentIds: `${BASE_URL}/system/dictionary/parentids`,
    SystemDictionaryIsFreeze: `${BASE_URL}/system/dictionary/isfreeze`,

    SystemDistrict: `${BASE_URL}/system/district/sync`,
    SystemDistrictQuery: `${BASE_URL}/system/district/list`,

    SystemExceptionLogQuery: `${BASE_URL}/system/log/exception`,
    SystemExceptionLogById: `${BASE_URL}/system/log/exception`,
    SystemOperationLogQuery: `${BASE_URL}/system/log/operation`,
    SystemOperationLogById: `${BASE_URL}/system/log/operation`,
    SystemLoginLogQuery: `${BASE_URL}/system/log/login`,
    SystemLoginLogAnalysis: `${BASE_URL}/system/log/login/analysis`,
    SystemRateLimitLogQuery: `${BASE_URL}/system/log/ratelimit`,
    SystemRateLimitLogById: `${BASE_URL}/system/log/ratelimit`,

    SystemOrganization: `${BASE_URL}/system/organization`,
    SystemOrganizationRemoveChildren: `${BASE_URL}/system/organization/removechildren`,
    SystemOrganizationQuery: `${BASE_URL}/system/organization/list`,
    SystemOrganizationSave: `${BASE_URL}/system/organization`,
    SystemOrganizationDelete: `${BASE_URL}/system/organization/delete`,
    SystemOrganizationFindById: `${BASE_URL}/system/organization`,
    SystemOrganizationIsFreeze: `${BASE_URL}/system/organization/isfreeze`,
    SystemOrganizationTreeRange: `${BASE_URL}/system/organization/range`,
    SystemOrganizationTopOrg: `${BASE_URL}/system/organization/toporg`,

    SystemUserOrganization: `${BASE_URL}/system/user/organization`,
    SystemUserQuery: `${BASE_URL}/system/user/list`,
    SystemUserSave: `${BASE_URL}/system/user`,
    SystemUserDelete: `${BASE_URL}/system/user/delete`,
    SystemUserFindById: `${BASE_URL}/system/user`,
    SystemUserDetail: `${BASE_URL}/system/user/detail`,
    SystemUserCheckCode: `${BASE_URL}/system/user/checkcode`,
    SystemUserResetPassword: `${BASE_URL}/system/user/resetpassword`,
    SystemUserChangePassword: `${BASE_URL}/system/user/changepassword`,
    SystemUserIsFreeze: `${BASE_URL}/system/user/isfreeze`,
    SystemUserTopOrg: `${BASE_URL}/system/user/toporg`,
    SystemUserDownImportTemplate: `${BASE_URL}/system/user/import/template`,
    SystemUserImport: `${BASE_URL}/system/user/import`,
    SystemUserHeadImage: `${BASE_URL}/system/user/headimage`,

    SystemRoleOrganization: `${BASE_URL}/system/role/organization`,
    SystemRoleQuery: `${BASE_URL}/system/role/list`,
    SystemRoleSave: `${BASE_URL}/system/role`,
    SystemRoleDelete: `${BASE_URL}/system/role/delete`,
    SystemRoleFindById: `${BASE_URL}/system/role`,
    SystemRoleSelect: `${BASE_URL}/system/role/select`,
    SystemRoleCopy: `${BASE_URL}/system/role/copy`,
    SystemRoleIsFreeze: `${BASE_URL}/system/role/isfreeze`,
    SystemRoleAll: `${BASE_URL}/system/role/all`,

    SystemGroupOrganization: `${BASE_URL}/system/group/organization`,
    SystemGroupQuery: `${BASE_URL}/system/group/list`,
    SystemGroupSave: `${BASE_URL}/system/group`,
    SystemGroupDelete: `${BASE_URL}/system/group/delete`,
    SystemGroupFindById: `${BASE_URL}/system/group`,
    SystemGroupIsFreeze: `${BASE_URL}/system/group/isfreeze`,
    SystemGroupAll: `${BASE_URL}/system/group/all`,

    SystemPostOrganization: `${BASE_URL}/system/post/organization`,
    SystemPostQuery: `${BASE_URL}/system/post/list`,
    SystemPostSave: `${BASE_URL}/system/post`,
    SystemPostDelete: `${BASE_URL}/system/post/delete`,
    SystemPostFindById: `${BASE_URL}/system/post`,
    SystemPostIsFreeze: `${BASE_URL}/system/post/isfreeze`,
    SystemPostAll: `${BASE_URL}/system/post/all`,

    SystemCommonChosenUser: `${BASE_URL}/system/common/chosenuser`,
    SystemCommonChosenUserSave: `${BASE_URL}/system/common/chosenuser`,
    SystemCommonMenuButton: `${BASE_URL}/system/permission/menubutton`,

    SystemPermissionMobileMenu: `${BASE_URL}/system/permission/mobilemenu`,
    SystemPermissionMenu: `${BASE_URL}/system/permission/menu`,
    SystemPermissionPrivilegeMaster: `${BASE_URL}/system/permission/privilegemaster`,
    SystemPermissionSave: `${BASE_URL}/system/permission`,
    SystemPermissionMenuHave: `${BASE_URL}/system/permission/menuhave`,
    SystemPermissionMobileMenuHave: `${BASE_URL}/system/permission/mobilemenuhave`,
    SystemPermissionMenuButton: `${BASE_URL}/system/permission/menubutton`,
    SystemPermissionMobileMenuButton: `${BASE_URL}/system/permission/mobilemenubutton`,
    SystemPermissionMenuButtonAll: `${BASE_URL}/system/permission/menubuttonall`,
    SystemPermissionDetail: `${BASE_URL}/system/permission/detail`,
    SystemPermissionData: `${BASE_URL}/system/permission/data`,
    SystemPermissionDataAll: `${BASE_URL}/system/permission/dataall`,

    SystemNoticeQuery: `${BASE_URL}/system/notice/list`,
    SystemNoticeSave: `${BASE_URL}/system/notice`,
    SystemNoticeDelete: `${BASE_URL}/system/notice/delete`,
    SystemNoticeFindById: `${BASE_URL}/system/notice`,

    SystemJobQuery: `${BASE_URL}/system/job/list`,
    SystemJobSchedule: `${BASE_URL}/system/job/schedule`,
    SystemJobDelete: `${BASE_URL}/system/job/delete`,
    SystemJobEdit: `${BASE_URL}/system/job/edit`,
    SystemJobPause: `${BASE_URL}/system/job/pause`,
    SystemJobPauseAll: `${BASE_URL}/system/job/pauseall`,
    SystemJobResume: `${BASE_URL}/system/job/resume`,
    SystemJobResumeAll: `${BASE_URL}/system/job/resumeall`,

    SystemJobCalendarQuery: `${BASE_URL}/system/job/calendar`,
    SystemJobCalendarEdit: `${BASE_URL}/system/job/calendar/edit`,
    SystemJobCalendarDelete: `${BASE_URL}/system/job/calendar/delete`,
    SystemJobCalendarSave: `${BASE_URL}/system/job/calendar/save`,

    SystemFileUpload: `${BASE_URL}/system/file/uploadform`,
    SystemFileCorrelationId: `${BASE_URL}/system/file/correlation`,
    SystemFileUploadDel: `${BASE_URL}/system/file/delete`,
    SystemFileUploadReurnPaths: `${BASE_URL}/system/file/uploadreturnpath`,

    SystemUpdateLogQuery: `${BASE_URL}/system/updatelog/list`,

    SystemTypeQuery: `${BASE_URL}/system/type/list`,
    SystemTypeSave: `${BASE_URL}/system/type`,
    SystemTypeDelete: `${BASE_URL}/system/type/delete`,
    SystemTypeFindById: `${BASE_URL}/system/type`,
    SystemTypeIsFreeze: `${BASE_URL}/system/type/isfreeze`,
    SystemTypeAll: `${BASE_URL}/system/type/all`,

    SystemMessageLogQuery: `${BASE_URL}/system/messagelog/list`,
    SystemMessageLogFindById: `${BASE_URL}/system/messagelog`,
    SystemMessageLogRead: `${BASE_URL}/system/messagelogread`,
    SystemMessageLogMy: `${BASE_URL}/system/messagelog/list/my`,

    SystemSnQuery: `${BASE_URL}/system/sn`,

    //敏捷开发
    AgileConfigQuery: `${BASE_URL}/agile/config/list`,
    AgileConfigSave: `${BASE_URL}/agile/config`,
    AgileConfigSaveType: `${BASE_URL}/agile/config/type`,
    AgileConfigSaveJson: `${BASE_URL}/agile/config/save/json`,
    AgileConfigPublicJson: `${BASE_URL}/agile/config/public/json`,
    AgileConfigDelete: `${BASE_URL}/agile/config/delete`,
    AgileConfigFindById: `${BASE_URL}/agile/config`,
    AgileConfigFindByMenuId: `${BASE_URL}/agile/config/menu`,
    AgileConfigBase: `${BASE_URL}/agile/config/base`,
    AgileConfigColumns: `${BASE_URL}/agile/config/columns`,

    AgileDataBaseIsTableExist: `${BASE_URL}/agile/database/tableexist`,
    AgileDataBaseSaveFormTable: `${BASE_URL}/agile/database/table`,
    AgileDataBaseSaveFormTableField: `${BASE_URL}/agile/database/tablefield`,
    AgileDataBaseTable: `${BASE_URL}/agile/database/table`,
    AgileDataBaseTableColumn: `${BASE_URL}/agile/database/column`,
    AgileDataBaseTableSpaceused: `${BASE_URL}/agile/database/spaceused`,
    AgileDataBaseProc: `${BASE_URL}/agile/database/proc`,
    AgileDataBaseView: `${BASE_URL}/agile/database/view`,
    AgileDataBaseTableTree: `${BASE_URL}/agile/database/table/tree`,
    AgileDataBaseBusinessData: `${BASE_URL}/agile/database/businessdata`,
    AgileDataBaseBusinessDataQuery: `${BASE_URL}/agile/database/businessdata/list`, //查询数据
    AgileDataBaseBusinessDataFindById: `${BASE_URL}/agile/database/businessdata/byid`,
    AgileDataBaseBusinessDataDel: `${BASE_URL}/agile/database/businessdata/del`,
    AgileDataBaseBusinessDataQueryBatch: `${BASE_URL}/agile/database/businessdata/batch/list`,
    AgileDataBaseBusinessDataFindFormSource: `${BASE_URL}/agile/database/businessdata/fromsource`,
    AgileDataBaseBusinessDataFindFormSourcePaging: `${BASE_URL}/agile/database/businessdata/fromsourcepaging`,
    AgileEventApi: `${BASE_URL}/agile/event/api`,

    //工作流
    WorkflowButtonQuery: `${BASE_URL}/workflow/button/list`,
    WorkflowButtonSave: `${BASE_URL}/workflow/button`,
    WorkflowButtonDelete: `${BASE_URL}/workflow/button/delete`,
    WorkflowButtonFindById: `${BASE_URL}/workflow/button`,

    WorkflowProcessQuery: `${BASE_URL}/workflow/process/list`,
    WorkflowProcessSave: `${BASE_URL}/workflow/process`,
    WorkflowProcessSaveDesignJson: `${BASE_URL}/workflow/process/json`,
    WorkflowProcessDelete: `${BASE_URL}/workflow/process/delete`,
    WorkflowProcessFindById: `${BASE_URL}/workflow/process`,

    WorkflowPermission: `${BASE_URL}/workflow/permission`,
    WorkflowPermissionFind: `${BASE_URL}/workflow/permission/find`,
    WorkflowPermissionSave: `${BASE_URL}/workflow/permission`,

    WorkflowCommentQuery: `${BASE_URL}/workflow/comment/list`,
    WorkflowCommentSave: `${BASE_URL}/workflow/comment`,
    WorkflowCommentDelete: `${BASE_URL}/workflow/comment/delete`,
    WorkflowCommentFindById: `${BASE_URL}/workflow/comment`,
    WorkflowCommentMy: `${BASE_URL}/workflow/comment/my`,

    WorkflowEngineColumn: `${BASE_URL}/workflow/engine/column`,
    WorkflowEngineLibrary: `${BASE_URL}/workflow/engine/library`,
    WorkflowEngineActivityStart: `${BASE_URL}/workflow/engine/activity/start`,
    WorkflowEngineStart: `${BASE_URL}/workflow/engine/start`,
    WorkflowEngineStartRun: `${BASE_URL}/workflow/engine/start/run`,
    WorkflowEngineTaskProcess: `${BASE_URL}/workflow/engine/taskprocess`,
    WorkflowEngineTaskProcessRun: `${BASE_URL}/workflow/engine/taskprocess/run`,

    WorkflowEngineNeedDo: `${BASE_URL}/workflow/engine/needdo`,
    WorkflowEngineHaveDo: `${BASE_URL}/workflow/engine/havedo`,
    WorkflowEngineHaveSend: `${BASE_URL}/workflow/engine/havesend`,
    WorkflowEngineOverTime: `${BASE_URL}/workflow/engine/overtime`,
    WorkflowEngineInstanceProcess: `${BASE_URL}/workflow/engine/instanceprocess`,
    WorkflowActivityByTaskId: `${BASE_URL}/workflow/activity/task`,
    WorkflowTaskById: `${BASE_URL}/workflow/engine/task`,

    WorkflowEngineRefuse: `${BASE_URL}/workflow/engine/refuse`,
    WorkflowEngineReturnAndWrite: `${BASE_URL}/workflow/engine/returnandwrite`,
    WorkflowEngineReturnActivity: `${BASE_URL}/workflow/engine/returnactivity`,
    WorkflowEngineUnderStanding: `${BASE_URL}/workflow/engine/understanding`,
    WorkflowEngineUnderStandingRead: `${BASE_URL}/workflow/engine/understanding/read`,

    WorkflowEngineInvitationRead: `${BASE_URL}/workflow/engine/invitationread`,
    WorkflowEngineInvitationReadSure: `${BASE_URL}/workflow/engine/invitationread/sure`,
    WorkflowEngineInvitationReadApprove: `${BASE_URL}/workflow/engine/invitationread/approve`,
    WorkflowEngineInvitationReadApprovePass: `${BASE_URL}/workflow/engine/invitationread/approve/pass`,
    WorkflowEngineInvitationReadApproveRefuse: `${BASE_URL}/workflow/engine/invitationread/approve/refuse`,
    WorkflowEngineRevoke: `${BASE_URL}/workflow/engine/revoke`,
    WorkflowEngineEnd: `${BASE_URL}/workflow/engine/end`,
    WorkflowEngineAdd: `${BASE_URL}/workflow/engine/add`,
    WorkflowEngineAddApprove: `${BASE_URL}/workflow/engine/add/approve`,
    WorkflowEngineDeleteTask: `${BASE_URL}/workflow/engine/delete/task`,
    WorkflowEngineRevokeByCreateUser: `${BASE_URL}/workflow/engine/revoke/createuser`,

    WorkflowEngineMonitorQuery: `${BASE_URL}/workflow/engine/monitor`,
    WorkflowEngineMonitorDetail: `${BASE_URL}/workflow/engine/detail`,

    WorkflowEngineDraftSave: `${BASE_URL}/workflow/engine/draft`,
    WorkflowEngineDraftQuery: `${BASE_URL}/workflow/engine/draft/query`,
    WorkflowEngineDraftDelete: `${BASE_URL}/workflow/engine/draft/del`,

    WorkflowEngineModelSave: `${BASE_URL}/workflow/engine/model`,
    WorkflowEngineModelQuery: `${BASE_URL}/workflow/engine/model/query`,
    WorkflowEngineModelDelete: `${BASE_URL}/workflow/engine/model/del`,

    WorkflowEngineFlowChart: `${BASE_URL}/workflow/engine/flowchart`
}